package com.zmn.oms.common.dio.normal.orderadd;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * 类描述：优惠信息
 *
 * @author wangxiaokun
 * @since 2021/04/01 21:10
 */
@Data
@ToString
@ApiModel("优惠信息")
public class OrderAmountAndDiscountDIO implements Serializable {

    private static final long serialVersionUID = 3484950769085396087L;

    /**
     * 预付金
     */
    @ApiModelProperty("预付金")
    private Integer prepayAmount;

    /**
     * 支付方式 1 先付 2 后付
     */
    @ApiModelProperty("支付方式 1 先付 2 后付")
    private Integer payType;

    /**
     * 店铺下单，优惠券码
     */
    @ApiModelProperty("优惠券码")
    private List<String> couponCodes;

    /**
     * 优惠调用发起者，1系统，2用户
     */
    @ApiModelProperty("优惠调用发起者")
    private Integer discountInvoker;

    /**
     * 促销id
     */
    @ApiModelProperty("促销id")
    private Integer promId;

    /**
     * 优惠
     */
    @ApiModelProperty("购物车分摊优惠")
    private List<OrderDiscountDIO> mosOrderDiscountList;

    /**
     * 优惠
     */
    @ApiModelProperty("支付优惠分摊优惠")
    private List<OrderPayDiscountDIO> orderPayDiscountList;

    /**
     * 渠道预付款
     */
    @ApiModelProperty("渠道预付款")
    private Integer channelPrepayAmount;

    /**
     * 渠道预付款凭证
     */
    @ApiModelProperty("渠道预付款凭证")
    private String channelPrepayCertificateSrc;
}
